import Request from "@/util/request.js";

const apiRequest = new Request();

// 获取审核任务列表
export const getAuditTaskListApi = (params) => {
    return apiRequest.post("/api/audit.task/index", params);
}

// 获取审核任务详情
export const getAuditTaskDetailApi = (params) => {
    return apiRequest.post("/api/audit.task/read", params);
}

// 审批配置列表
export const getConfigListApi = (params) => {
    return apiRequest.post("/api/audit.config/index", params);
}

// 审批配置详情
export const getConfigDetailApi = (params) => {
    return apiRequest.post("/api/audit.config/read", params);
}

// 审批配置创建
export const createConfigApi = (params) => {
    return apiRequest.post("/api/audit.config/create", params);
}

// 审批配置更新
export const updateConfigApi = (params) => {
    return apiRequest.post("/api/audit.config/update", params);
}

// 审批配置删除
export const deleteConfigApi = (params) => {
    return apiRequest.post("/api/audit.config/delete", params);
}










